7.4.1 Get the list of digital currencies available in VAPY wallet
#Brief description: Get the list of available digital coins
- Request method: POST
- Request interface: https://gateway-domain/wallet-tradev2/currency/digital
- Request media type (JSON data format)Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Query parameters
None
Response json example
{
"code": 0,
"success": true,
"message": null,
"data": [{
"currency": "TRX",
"name": "trx",
"display": true,
"description": "trx的币",
"symbol": "t",
"type": "DIGITAL",
"decimalPlace": 6,
"scale": 6,
"logo": {
"gid": "rM44wzYk11lmiYKVzpFzh2KBSBn6h956",
"fileUrl": "https://localfile.wallet-d ev.com/attachment/download/rM44wzYk11lmiYKVzpFzh2KBSBn6h956",
"previewUrl": "https://localfile.wallet-dev.com/attachment/download/preview/rM44wzYk11lmiYKVzpFzh2KBSBn6h956"
}
},
{
"currency": "USDT",
"name": "泰达币",
"display": true,
"description": "泰达币",
"symbol": "₮",
"type": "DIGITAL",
"decimalPlace": 6,
"scale": 6,
"logo": {
"gid": "wnJb9x0chCpA0PH6nobtENzzw8YSiRPK",
"fileUrl": "https://localfile.wallet-dev.com/attachment/download/wnJb9x0chCpA0PH6nobtENzzw8YSiRPK",
"previewUrl": "https://localfile.wallet-dev.com/attachment/download/preview/wnJb9x0chCpA0PH6nobtENzzw8YSiRPK"
}
}]
}
Response data parameter description
| Parameter name | Type | Parameter meaning | Parameter description |
|---|---|---|---|
currency | string | Currency code | |
name | string | Currency name | |
display | string | Whether to display by default | true |
description | string | Currency Introduction | |
symbol | string | Currency symbol | |
type | string | Currency type | DIGITAL: digital currency | LEGAL: legal currency |
decimalPlace | number | Support decimal places | |
scale | number | Display accuracy | |
logo | string | LOGO information | |
| └ gid | string | Attachment identification ID | |
| └ fileUrl | string | File access address | |
| └ previewUrl | string | File preview address |